//
//  AboutMeViewController.m
//  STL_ Animation
//
//  Created by 孙健 on 16/3/30.
//  Copyright © 2016年 STL. All rights reserved.
//

#import "AboutMeViewController.h"
#import "AppDelegate.h"
@interface AboutMeViewController ()

@end

@implementation AboutMeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor colorWithRed:241/255.0 green:148/255.0 blue:194/255.0 alpha:1];
    self.navigationItem.title = @"关于我们";
    
    UIImageView *im = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, (ScreenHeight-64) / 3)];
    [self.view addSubview:im];
    
    im.image = [UIImage imageNamed:@"me"];
    im.contentMode = UIViewContentModeScaleAspectFit;
    
    //
    UIImageView *im1 = [[UIImageView alloc] initWithFrame:CGRectMake(0, (ScreenHeight-64) / 3, ScreenWidth / 3, ScreenWidth / 3)];
    [self.view addSubview:im1];
    
    im1.image = [UIImage imageNamed:@"me1"];
    im1.contentMode = UIViewContentModeScaleAspectFit;
    
    //
    UIImageView *im2 = [[UIImageView alloc] initWithFrame:CGRectMake(ScreenWidth / 3, (ScreenHeight-64) / 3, ScreenWidth / 3, ScreenWidth / 3)];
    [self.view addSubview:im2];
    
    im2.image = [UIImage imageNamed:@"me2"];
    im2.contentMode = UIViewContentModeScaleAspectFit;
    
    //
    UIImageView *im3 = [[UIImageView alloc] initWithFrame:CGRectMake(ScreenWidth / 3 * 2, (ScreenHeight-64) / 3, ScreenWidth / 3, ScreenWidth / 3)];
    [self.view addSubview:im3];
    
    im3.image = [UIImage imageNamed:@"me3"];
    im3.contentMode = UIViewContentModeScaleAspectFit;
    
    //
    UILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(0, (ScreenHeight-64) / 3 + ScreenWidth / 3, ScreenWidth/3, 40)];
                                                               
//    ScreenHeight - (ScreenHeight-64) / 3 - ScreenWidth / 3)];
    label1.text = @"逼赖最无敌";
    
    label1.backgroundColor = [UIColor colorWithRed:241/255.0 green:148/255.0 blue:194/255.0 alpha:0.8];
    [self.view addSubview:label1];
    label1.textAlignment = NSTextAlignmentCenter;
    
    
    UILabel *label2 = [[UILabel alloc] initWithFrame:CGRectMake(ScreenWidth/3, (ScreenHeight-64) / 3 + ScreenWidth / 3, ScreenWidth/3, 40)];
    
    //    ScreenHeight - (ScreenHeight-64) / 3 - ScreenWidth / 3)];
    label2.text = @"无敌最寂寞";
    
    label2.backgroundColor = [UIColor colorWithRed:241/255.0 green:148/255.0 blue:194/255.0 alpha:0.8];
    [self.view addSubview:label2];
    
    
    
    UILabel *label3 = [[UILabel alloc] initWithFrame:CGRectMake(ScreenWidth/3*2, (ScreenHeight-64) / 3 + ScreenWidth / 3, ScreenWidth/3, 40)];
    
    //    ScreenHeight - (ScreenHeight-64) / 3 - ScreenWidth / 3)];
    label3.text = @"寂寞就歌唱";
    
    label3.backgroundColor = [UIColor colorWithRed:241/255.0 green:148/255.0 blue:194/255.0 alpha:0.8];
    [self.view addSubview:label3];
    label2.textAlignment = NSTextAlignmentCenter;

    label3.textAlignment = NSTextAlignmentCenter;

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
